package code.xiaohh.cloudalibaba.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * <p>
 * 网关模块启动类
 * </p>
 *
 * @author XiaoHH
 * @version 1.0
 * @date 2021-04-10 星期六 16:42:08
 * @file GatewayApplication.java
 */
@EnableDiscoveryClient
@SpringBootApplication
public class GatewayApplication {

    public static void main(String[] args) {
        // 启动网关模块
        SpringApplication.run(GatewayApplication.class, args);
        System.out.println("^V^ 网关模块启动成功 ^V^\n" +
                "/-\\ /-\\ /-\\ /-\\ /-\\ /-\\\n" +
                " X   i   a   o   H   H\n" +
                "\\-/ \\-/ \\-/ \\-/ \\-/ \\-/");
    }

}